﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using neside3.ext;

namespace runner
{
    public class runner_nes : neside3.ext.IRunner
    {
        public string RunnerType => "nesemu";
        wpf_nesview view;
        public System.Windows.UIElement GetUI(ILogger logger)
        {
            if (view == null) view = new wpf_nesview(logger);
            return view;
        }

        public bool SetProject(ILogger logger, string projectfolder)
        {
            return view.SetProject(projectfolder);
        }
    }
}
